Current Mirror
   HOME

TheInfoList



OR:

A current mirror is a circuit designed to copy a
current Currents, Current or The Current may refer to: Science and technology * Current (fluid), the flow of a liquid or a gas ** Air current, a flow of air ** Ocean current, a current in the ocean *** Rip current, a kind of water current ** Current (stre ...
through one
active device Passivity is a property of engineering systems, most commonly encountered in analog electronics and control systems. Typically, analog designers use ''passivity'' to refer to incrementally passive components and systems, which are incapable of p ...
by controlling the current in another active device of a circuit, keeping the output current constant regardless of loading. The current being "copied" can be, and sometimes is, a varying signal current. Conceptually, an ideal current mirror is simply an ideal ''inverting current amplifier'' that reverses the current direction as well. Or it can consist of a current-controlled current source (CCCS). The current mirror is used to provide bias currents and
active load An active load or dynamic load is a component or a circuit that functions as a current-stable nonlinear resistor. Circuit design In circuit design, an active load is a circuit component made up of ''active devices'', such as transistors, inten ...
s to circuits. It can also be used to model a more realistic current source (since ideal current sources don't exist). The circuit topology covered here is one that appears in many monolithic ICs. It is a Widlar mirror without an emitter degeneration resistor in the follower (output) transistor. This topology can only be done in an IC, as the matching has to be extremely close and cannot be achieved with discretes. Another topology is the
Wilson current mirror A Wilson current mirror is a three-terminal circuit (Fig. 1) that accepts an input current at the input terminal and provides a "mirrored" current source or sink output at the output terminal. The mirrored current is a precise copy of the input curr ...
. The Wilson mirror solves the Early effect voltage problem in this design. Current mirrors are applied in both analog and mixed
VLSI Very large-scale integration (VLSI) is the process of creating an integrated circuit (IC) by combining millions or billions of MOS transistors onto a single chip. VLSI began in the 1970s when MOS integrated circuit (Metal Oxide Semiconductor) ...
circuits.


Mirror characteristics

There are three main specifications that characterize a current mirror. The first is the transfer ratio (in the case of a current amplifier) or the output current magnitude (in the case of a constant current source CCS). The second is its AC output resistance, which determines how much the output current varies with the voltage applied to the mirror. The third specification is the minimum voltage drop across the output part of the mirror necessary to make it work properly. This minimum voltage is dictated by the need to keep the output transistor of the mirror in active mode. The range of voltages where the mirror works is called the compliance range and the voltage marking the boundary between good and bad behavior is called the compliance voltage. There are also a number of secondary performance issues with mirrors, for example, temperature stability.


Practical approximations

For
small-signal Small-signal modeling is a common analysis technique in electronics engineering used to approximate the behavior of electronic circuits containing nonlinear devices with linear equations. It is applicable to electronic circuits in which the AC ...
analysis the current mirror can be approximated by its equivalent Norton impedance. In large-signal hand analysis, a current mirror is usually and simply approximated by an ideal current source. However, an ideal current source is unrealistic in several respects: *it has infinite AC impedance, while a practical mirror has finite impedance *it provides the same current regardless of voltage, that is, there are no compliance range requirements *it has no frequency limitations, while a real mirror has limitations due to the parasitic capacitances of the transistors *the ideal source has no sensitivity to real-world effects like noise, power-supply voltage variations and component tolerances.


Circuit realizations of current mirrors


Basic idea

A bipolar transistor can be used as the simplest ''current-to-current converter'' but its transfer ratio would highly depend on temperature variations, β tolerances, etc. To eliminate these undesired disturbances, a current mirror is composed of two cascaded ''current-to-voltage'' and ''voltage-to-current'' converters placed at the same conditions and having reverse characteristics. It is not obligatory for them to be linear; the only requirement is their characteristics to be mirrorlike (for example, in the BJT current mirror below, they are logarithmic and exponential). Usually, two identical converters are used but the characteristic of the first one is reversed by applying a negative feedback. Thus a current mirror consists of two cascaded equal converters (the first - reversed and the second - direct).


Basic BJT current mirror

If a voltage is applied to the BJT base-emitter junction as an input quantity and the collector current is taken as an output quantity, the transistor will act as an ''exponential voltage-to-current converter''. By applying a negative feedback (simply joining the base and collector) the transistor can be "reversed" and it will begin acting as the opposite ''logarithmic current-to-voltage converter''; now it will adjust the "output" base-emitter voltage so as to pass the applied "input" collector current. The simplest bipolar current mirror (shown in Figure 1) implements this idea. It consists of two cascaded transistor stages acting accordingly as a ''reversed'' and ''direct'' voltage-to-current converters. The emitter of transistor Q1 is connected to ground. Its collector-base voltage is zero as shown. Consequently, the voltage drop across Q1 is ''V''BE, that is, this voltage is set by the diode law and Q1 is said to be diode connected. (See also Ebers-Moll model.) It is important to have Q1 in the circuit instead of a simple diode, because Q1 sets ''VBE'' for transistor Q2. If Q1 and Q2 are matched, that is, have substantially the same device properties, and if the mirror output voltage is chosen so the collector-base voltage of Q2 is also zero, then the ''VBE''-value set by Q1 results in an emitter current in the matched Q2 that is the same as the emitter current in Q1. Because Q1 and Q2 are matched, their β0-values also agree, making the mirror output current the same as the collector current of Q1. The current delivered by the mirror for arbitrary collector-base reverse bias, ''V''CB, of the output transistor is given by: :: I_\text = I_\text \left( e^ - 1 \right) \left(1 + \frac\right), where ''IS'' is the reverse saturation current or scale current; ''VT'', the
thermal voltage The Boltzmann constant ( or ) is the proportionality factor that relates the average relative kinetic energy of particles in a ideal gas, gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin and the gas ...
; and ''VA'', the
Early voltage The Early effect, named after its discoverer James M. Early, is the variation in the effective width of the base in a bipolar junction transistor (BJT) due to a variation in the applied base-to-collector voltage. A greater reverse bias across ...
. This current is related to the reference current ''I''ref when the output transistor ''VCB'' = 0 V by: :: I_\text = I_C \left( 1 + \frac \right), as found using
Kirchhoff's current law Kirchhoff's circuit laws are two equalities that deal with the current and potential difference (commonly known as voltage) in the lumped element model of electrical circuits. They were first described in 1845 by German physicist Gustav Kirchho ...
at the collector node of Q1: :: I_\text = I_C + I_ + I_ \ . The reference current supplies the collector current to Q1 and the base currents to both transistors — when both transistors have zero base-collector bias, the two base currents are equal, IB1 = IB2 = IB. :: I_\text = I_C + I_B + I_B = I_C + 2 I_B = I_C \left(1 + \frac \right), Parameter β0 is the transistor β-value for ''V''CB = 0 V.


Output resistance

If VBC is greater than zero in output transistor Q2, the collector current in Q2 will be somewhat larger than for Q1 due to the Early effect. In other words, the mirror has a finite output (or Norton) resistance given by the ''ro'' of the output transistor, namely: : R_N = r_o = \frac \ , where ''VA'' is the Early voltage; and ''VCE'', the collector-to-emitter voltage of output transistor.


Compliance voltage

To keep the output transistor active, ''VCB'' ≥ 0 V. That means the lowest output voltage that results in correct mirror behavior, the compliance voltage, is ''VOUT'' = ''VCV'' = ''VBE'' under bias conditions with the output transistor at the output current level ''IC'' and with ''VCB'' = 0 V or, inverting the ''I-V'' relation above: ::V_ = V_T \ln\left(\frac + 1\right), where ''VT'' is the
thermal voltage The Boltzmann constant ( or ) is the proportionality factor that relates the average relative kinetic energy of particles in a ideal gas, gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin and the gas ...
; and ''IS'', the reverse saturation current or scale current.


Extensions and complications

When Q2 has ''VCB'' > 0 V, the transistors no longer are matched. In particular, their β-values differ due to the Early effect, with ::\begin \beta_1 &= \beta_0 \\ \beta_2 &= \beta_0 \left(1 + \frac\right), \end where VA is the
Early voltage The Early effect, named after its discoverer James M. Early, is the variation in the effective width of the base in a bipolar junction transistor (BJT) due to a variation in the applied base-to-collector voltage. A greater reverse bias across ...
and β0 is the transistor β for VCB = 0 V. Besides the difference due to the Early effect, the transistor β-values will differ because the β0-values depend on current, and the two transistors now carry different currents (see Gummel-Poon model). Further, Q2 may get substantially hotter than Q1 due to the associated higher power dissipation. To maintain matching, the temperature of the transistors must be nearly the same. In integrated circuits and transistor arrays where both transistors are on the same die, this is easy to achieve. But if the two transistors are widely separated, the precision of the current mirror is compromised. Additional matched transistors can be connected to the same base and will supply the same collector current. In other words, the right half of the circuit can be duplicated several times with various resistor values replacing R2 on each. Note, however, that each additional right-half transistor "steals" a bit of collector current from Q1 due to the non-zero base currents of the right-half transistors. This will result in a small reduction in the programmed current. See also an example of a mirror with emitter degeneration to increase mirror resistance. For the simple mirror shown in the diagram, typical values of \beta will yield a current match of 1% or better.


Basic MOSFET current mirror

The basic current mirror can also be implemented using MOSFET transistors, as shown in Figure 2. Transistor ''M''1 is operating in the saturation or active mode, and so is ''M''2. In this setup, the output current ''I''OUT is directly related to ''I''REF, as discussed next. The drain current of a MOSFET ''I''D is a function of both the gate-source voltage and the drain-to-gate voltage of the MOSFET given by ''I''D = ''f'' (''V''GS, ''V''DG), a relationship derived from the functionality of the MOSFET device. In the case of transistor ''M''1 of the mirror, ''I''D = ''I''REF. Reference current ''I''REF is a known current, and can be provided by a resistor as shown, or by a "threshold-referenced" or " self-biased" current source to ensure that it is constant, independent of voltage supply variations. Using ''V''DG = 0 for transistor ''M''1, the drain current in ''M''1 is ''I''D = ''f''(''V''GS, ''V''DG=0), so we find: ''f''(''V''GS, 0) = ''I''REF, implicitly determining the value of ''V''GS. Thus ''I''REF sets the value of ''V''GS. The circuit in the diagram forces the same ''V''GS to apply to transistor ''M''2. If ''M''2 is also biased with zero ''V''DG and provided transistors ''M''1 and ''M''2 have good matching of their properties, such as channel length, width, threshold voltage, etc., the relationship ''I''OUT = ''f''(''V''GS, ''V''DG = 0) applies, thus setting ''I''OUT = ''I''REF; that is, the output current is the same as the reference current when ''V''DG = 0 for the output transistor, and both transistors are matched. The drain-to-source voltage can be expressed as ''V''DS = ''V''DG + ''V''GS. With this substitution, the Shichman–Hodges model provides an approximate form for function ''f''(''V''GS, ''V''DG): ::\begin I_d &= f(V_, V_) \\ &= \frac K_p \left(\frac\right)\left(V_ - V_\right)^2 \left(1 + \lambda V_\right) \\ &= \frac K_p \left frac\rightleft _ - V_\right2 \left + \lambda (V_ + V_)\right, \\ \end where K_p is a technology-related constant associated with the transistor, ''W/L'' is the width to length ratio of the transistor, V_ is the gate-source voltage, V_ is the threshold voltage, λ is the
channel length modulation Channel length modulation (CLM) is an effect in field effect transistors, a shortening of the length of the inverted channel region with increase in drain bias for large drain biases. The result of CLM is an increase in current with drain bias an ...
constant, and V_ is the drain-source voltage.


Output resistance

Because of channel-length modulation, the mirror has a finite output (or Norton) resistance given by the ''ro'' of the output transistor, namely (see
channel length modulation Channel length modulation (CLM) is an effect in field effect transistors, a shortening of the length of the inverted channel region with increase in drain bias for large drain biases. The result of CLM is an increase in current with drain bias an ...
): :: R_N = r_o = \frac\left(\fracr + V_\right) = \frac\left(V_E L + V_\right), where ''λ'' = channel-length modulation parameter and ''VDS'' = drain-to-source bias.


Compliance voltage

To keep the output transistor resistance high, ''VDG'' ≥ 0 V.Keeping the output resistance high means more than keeping the MOSFET in active mode, because the output resistance of real MOSFETs only begins to increase on entry into the active region, then rising to become close to maximum value only when ''VDG'' ≥ 0 V. (see Baker). That means the lowest output voltage that results in correct mirror behavior, the compliance voltage, is ''VOUT'' = ''VCV'' = ''VGS'' for the output transistor at the output current level with ''VDG'' = 0 V, or using the inverse of the ''f''-function, ''f −1'': ::V_ = V_ (\text\ I_D\ \text \ V_ = 0V) = f^(I_D) \ \text\ V_ = 0 \ . For the Shichman–Hodges model, ''f−1'' is approximately a square-root function.


Extensions and reservations

A useful feature of this mirror is the linear dependence of ''f'' upon device width ''W'', a proportionality approximately satisfied even for models more accurate than the Shichman–Hodges model. Thus, by adjusting the ratio of widths of the two transistors, multiples of the reference current can be generated. The Shichman–Hodges modelNanoDotTek Report NDT14-08-2007, 12 August 2007
is accurate only for rather dated technology, although it often is used simply for convenience even today. Any quantitative design based upon new technology uses computer models for the devices that account for the changed current-voltage characteristics. Among the differences that must be accounted for in an accurate design is the failure of the square law in ''V''gs for voltage dependence and the very poor modeling of ''V''ds drain voltage dependence provided by λ''V''ds. Another failure of the equations that proves very significant is the inaccurate dependence upon the channel length ''L''. A significant source of ''L''-dependence stems from λ, as noted by Gray and Meyer, who also note that λ usually must be taken from experimental data. Due to the wide variation of Vth even within a particular device number discrete versions are problematic. Although the variation can be somewhat compensated for by using a Source degenerate resistor its value becomes so large that the output resistance suffers (i.e. reduces). This variation relegates the MOSFET version to the IC/monolithic arena.


Feedback-assisted current mirror

Figure 3 shows a mirror using negative feedback to increase output resistance. Because of the op amp, these circuits are sometimes called gain-boosted current mirrors. Because they have relatively low compliance voltages, they also are called wide-swing current mirrors. A variety of circuits based upon this idea are in use, particularly for MOSFET mirrors because MOSFETs have rather low intrinsic output resistance values. A MOSFET version of Figure 3 is shown in Figure 4, where MOSFETs ''M''3 and ''M''4 operate in ohmic mode to play the same role as emitter resistors ''RE'' in Figure 3, and MOSFETs ''M''1 and ''M''2 operate in active mode in the same roles as mirror transistors ''Q''1 and ''Q''2 in Figure 3. An explanation follows of how the circuit in Figure 3 works. The operational amplifier is fed the difference in voltages ''V''1 − ''V''2 at the top of the two emitter-leg resistors of value ''RE''. This difference is amplified by the op amp and fed to the base of output transistor ''Q''2. If the collector base reverse bias on ''Q''2 is increased by increasing the applied voltage ''VA'', the current in ''Q''2 increases, increasing ''V''2 and decreasing the difference ''V''1 − ''V''2 entering the op amp. Consequently, the base voltage of ''Q''2 is decreased, and ''VBE'' of ''Q''2 decreases, counteracting the increase in output current. If the op-amp gain ''Av'' is large, only a very small difference ''V''1 − ''V''2 is sufficient to generate the needed base voltage ''VB'' for ''Q''2, namely : V_1 - V_2 = \frac. Consequently, the currents in the two leg resistors are held nearly the same, and the output current of the mirror is very nearly the same as the collector current ''IC1'' in ''Q1'', which in turn is set by the reference current as : I_\text = I_ \left(1 + \frac\right), where β1 for transistor ''Q''1 and β2 for ''Q''2 differ due to the Early effect if the reverse bias across the collector-base of ''Q''2 is non-zero.


Output resistance

An idealized treatment of output resistance is given in the footnote.An idealized version of the argument in the text, valid for infinite op amp gain, is as follows. If the op amp is replaced by a
nullor A nullor is a theoretical two-port network consisting of a nullator at its input and a norator at its output.The name "nullor" was introduced in Carlin. H. J . "Singular network elements", Tech. Doc. Rept. RADC-TDR-63-511, Polytechnic Inst. of ...
, voltage ''V''2 = ''V''1, so the currents in the leg resistors are held at the same value. That means the emitter currents of the transistors are the same. If the ''V''CB of Q2 increases, so does the output transistor β because of the Early effect: β = β0(1 + ''V''CB / ''V''A). Consequently the base current to Q2 given by ''I''B = ''I''E / (β + 1) decreases and the output current ''I''out = ''I''E / (1 + 1 / β) increases slightly because β increases slightly. Doing the math, :\begin \frac &= \frac = I_E \cdot \frac \left(\frac\right) = I_E \cdot \frac \cdot \frac \\ &= \frac \cdot \frac \cdot \frac \cdot \frac \\ &= I_\text \cdot \frac \cdot \frac \cdot \frac \\ &= \frac, \end where the transistor output resistance is given by rO = (''V''A + ''V''CB) / ''I''out. That is, the ideal mirror resistance for the circuit using an ideal op amp
nullor A nullor is a theoretical two-port network consisting of a nullator at its input and a norator at its output.The name "nullor" was introduced in Carlin. H. J . "Singular network elements", Tech. Doc. Rept. RADC-TDR-63-511, Polytechnic Inst. of ...
is ''R''out = (β + 1c)rO, in agreement with the value given later in the text when the gain → ∞.
A small-signal analysis for an op amp with finite gain ''A''v but otherwise ideal is based upon Figure 5 (β, rO and ''rπ'' refer to ''Q2''). To arrive at Figure 5, notice that the positive input of the op amp in Figure 3 is at AC ground, so the voltage input to the op amp is simply the AC emitter voltage ''V''e applied to its negative input, resulting in a voltage output of −''A''v ''V''e. Using Ohm's law across the input resistance rπ determines the small-signal base current ''I''b as: : I_b = \frac\frac \ . Combining this result with Ohm's law for R_E, V_e can be eliminated, to find:As ''A''v → ∞, ''V''e → 0 and ''I''b → ''I''X. : I_b = I_X \frac.
Kirchhoff's voltage law Kirchhoff's circuit laws are two equalities that deal with the current and potential difference (commonly known as voltage) in the lumped element model of electrical circuits. They were first described in 1845 by German physicist Gustav Kirchho ...
from the test source ''I''X to the ground of ''R''E provides: : V_X = (I_X + \beta I_b) r_O + (I_X - I_b )R_E. Substituting for ''I''b and collecting terms the output resistance ''R''out is found to be: :R_\text = \frac = r_O \left( 1 + \beta \frac \right) + R_E\, \frac. For a large gain ''Av'' ≫ ''rπ'' / ''RE'' the maximum output resistance obtained with this circuit is :R_\text = (\beta + 1)r_O, a substantial improvement over the basic mirror where ''R''out = ''rO''. The small-signal analysis of the MOSFET circuit of Figure 4 is obtained from the bipolar analysis by setting β = ''gm rπ'' in the formula for ''R''out and then letting ''rπ'' → ∞. The result is :R_\text = r_O \left + g_m R_E(A_v + 1)\right+ R_E. This time, ''RE'' is the resistance of the source-leg MOSFETs M3, M4. Unlike Figure 3, however, as ''Av'' is increased (holding ''RE'' fixed in value), ''R''out continues to increase, and does not approach a limiting value at large ''Av''.


Compliance voltage

For Figure 3, a large op amp gain achieves the maximum ''R''out with only a small ''RE''. A low value for ''RE'' means ''V2'' also is small, allowing a low compliance voltage for this mirror, only a voltage ''V2'' larger than the compliance voltage of the simple bipolar mirror. For this reason this type of mirror also is called a ''wide-swing current mirror'', because it allows the output voltage to swing low compared to other types of mirror that achieve a large ''R''out only at the expense of large compliance voltages. With the MOSFET circuit of Figure 4, like the circuit in Figure 3, the larger the op amp gain ''Av'', the smaller ''RE'' can be made at a given ''R''out, and the lower the compliance voltage of the mirror.


Other current mirrors

There are many sophisticated current mirrors that have higher output resistances than the basic mirror (more closely approach an ideal mirror with current output independent of output voltage) and produce currents less sensitive to temperature and device parameter
variations Variation or Variations may refer to: Science and mathematics * Variation (astronomy), any perturbation of the mean motion or orbit of a planet or satellite, particularly of the moon * Genetic variation, the difference in DNA among individua ...
and to circuit voltage fluctuations. These multi-transistor mirror circuits are used both with bipolar and MOS transistors. These circuits include: *the
Widlar current source ] A Widlar current source is a modification of the basic two-transistor current mirror that incorporates an emitter degeneration resistor for only the output transistor, enabling the current source to generate low currents using only moderate res ...
*the
Wilson current mirror A Wilson current mirror is a three-terminal circuit (Fig. 1) that accepts an input current at the input terminal and provides a "mirrored" current source or sink output at the output terminal. The mirrored current is a precise copy of the input curr ...
used as a current source *
Cascode The cascode is a two-stage amplifier that consists of a common-emitter stage feeding into a common-base stage. Compared to a single amplifier stage, this combination may have one or more of the following characteristics: higher input–output ...
d current sources


Notes


See also

*
Current source A current source is an electronic circuit that delivers or absorbs an electric current which is independent of the voltage across it. A current source is the dual of a voltage source. The term ''current sink'' is sometimes used for sources fed ...
*
Widlar current source ] A Widlar current source is a modification of the basic two-transistor current mirror that incorporates an emitter degeneration resistor for only the output transistor, enabling the current source to generate low currents using only moderate res ...
*
Wilson current mirror A Wilson current mirror is a three-terminal circuit (Fig. 1) that accepts an input current at the input terminal and provides a "mirrored" current source or sink output at the output terminal. The mirrored current is a precise copy of the input curr ...
*
Bipolar junction transistor A bipolar junction transistor (BJT) is a type of transistor that uses both electrons and electron holes as charge carriers. In contrast, a unipolar transistor, such as a field-effect transistor, uses only one kind of charge carrier. A bipola ...
* MOSFET *
Channel length modulation Channel length modulation (CLM) is an effect in field effect transistors, a shortening of the length of the inverted channel region with increase in drain bias for large drain biases. The result of CLM is an increase in current with drain bias an ...
* Early effect


References


External links


4QD tec - Current sources and mirrors
Compendium of circuits and descriptions {{DEFAULTSORT:Current Mirror Analog circuits Electronic design Electronics concepts